﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace SmartHotel.Migrations
{
    public partial class create房态1 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "HouseRoomState",
                table: "SmartHotel_HouseRoom",
                type: "int",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "RoomRoomState",
                table: "SmartHotel_HouseRoom",
                type: "int",
                nullable: false,
                defaultValue: 0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {

            migrationBuilder.DropColumn(
                name: "HouseRoomState",
                table: "SmartHotel_HouseRoom");

            migrationBuilder.DropColumn(
                name: "RoomRoomState",
                table: "SmartHotel_HouseRoom");
        }
    }
}
